package com.aaa.project.mapper;

import com.aaa.entity.EEmpInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 管理员信息表 Mapper 接口
 * </p>
 *
 * @author yuyongli
 * @since 2022-12-29
 */
public interface EEmpInfoMapper extends BaseMapper<EEmpInfo> {


    @Update("update e_emp_info set password  = #{newPassword} where telephone = #{telephone}")
    boolean updatePassword(@Param("newPassword") String newPassword,@Param("telephone") String telephone);
}
